Release 10.1A: OpenEdge Development:
ADM Reference


assignFields

Procedure that assigns the current form buffer values in the enabled fields/objects to the SmartDataObject, the database, and/or to local object variables.

Location: html-map.p

Parameters: None

Notes: Commonly used in a HTML Mapping object’s process-web-request procedure.

Examples:

PROCEDURE process-web-request: 
  IF REQUEST_METHOD = "POST":U THEN DO: 
     /* Copy HTML input field values to the form buffer fields. */ 
     RUN inputFields. 
     /* Find the datasource record that needs to be assigned. */ 
     RUN findRecords. 
     /* Assign form buffer field values to the datasource. */ 
     RUN assignFields. 
     /* Display datasource field values to the form buffer fields. */ 
     RUN displayFields. 
     /* Enable form buffer fields. */ 
     RUN enableFields. 
     /* Output the static HTML page and form buffer field values to the web 
stream. */ 
     RUN outputFields. 
  END. 
END. 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095